const { query } = require('./db');
// 处理文件的模块
const fs = require('fs');
// dirname
const path = require('path');
const myPath = path.join(__dirname, './word.txt');

fs.readFile(myPath, (err1, data1) => {
  if (err1) throw err1;
  console.log(data1.toString());
})